package com.optimize01.child;

import com.optimize01.father.Duck;

/**
 * @author GuoJH
 * @date 2022/8/11 9:43
 * @remark 橡皮鸭
 */
public class RubberDuck extends Duck {
    @Override
    public void display() {
        System.out.println("我是一只橡皮鸭！");
    }
}
